import Vue from 'vue';
import App from './App';
 
import myRequest from '@/util/request'
import uView from 'uview-ui'; // 直接导入uView
import tabBar from "@/components/tabbar/index.vue"//引入我们自己定义的tabBar组件
//获取所有组件
import uniList from '@dcloudio/uni-ui/lib/uni-list/uni-list.vue';
import uniForms from '@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue';
import uniFormsItem from '@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue';
import uniListChat from '@dcloudio/uni-ui/lib/uni-list-chat/uni-list-chat.vue';
import uniListItem from '@dcloudio/uni-ui/lib/uni-list-item/uni-list-item.vue';
import uniEasyinput from '@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue';
import uniFilePicker from '@dcloudio/uni-ui/lib/uni-file-picker/uni-file-picker.vue';
import uniSection from '@dcloudio/uni-ui/lib/uni-section/uni-section.vue';
import UniIcons from '@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue';
Vue.component('uni-list', uniList);
Vue.component('uni-list-chat', uniListChat);
Vue.component('uni-list-item', uniListItem);
Vue.component('uni-forms', uniForms);
Vue.component('uni-forms-item', uniFormsItem);
Vue.component('uni-easyinput', uniEasyinput);
Vue.component('uni-section', uniSection);
Vue.component('uni-file-picker', uniFilePicker);
Vue.component('uni-icons', UniIcons);

Vue.component('tab-bar', tabBar)//使用tabBar组件
 
Vue.prototype.$baseUrl = "https://absolutuniq.com:8088"
 //Vue.prototype.$baseUrl = "http://localhost:8088"
Vue.prototype.$wbBaseUrl = "wss://absolutuniq.com:8088/imserver"
// 挂载到全局使用
Vue.prototype.$myRequest = myRequest
Vue.config.productionTip = false
Vue.use(uView);



 

App.mpType = 'app'
 

const app = new Vue({
    ...App
})
app.$mount()